package com.bjc.platform.repository;

import java.util.List;

import org.springframework.data.repository.CrudRepository;

import com.bjc.platform.model.AdmUser;

/**
 * 
 * 处理用户与持久层的接口
 * 
 */
public interface AdmUserRepo extends CrudRepository<AdmUser, Long> {

	/**
	 * 查询指定用户名
	 * 
	 * @param username
	 * @return
	 */
	List<AdmUser> findByUsername(String username);
}
